/* 去除常见标签默认的 margin 和 padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* 设置网页统一的字体大小、行高、字体系列相关属性 */
body {
  font: 16px/1.5 "Microsoft Yahei", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
  color: #333;
}
/* 去除列表默认样式 */
ul,
ol {
  list-style: none;
}
/* 去除默认的倾斜效果 */
em,
i {
  font-style: normal;
}
/* 去除a标签默认下划线，并设置默认文字颜色 */
a {
  text-decoration: none;
  color: #333;
}
/* 设置img的垂直对齐方式为居中对齐，去除img默认下间隙 */
img {
  width: 100%;
  height: 100%;
  vertical-align: middle;
}
/* 去除input默认样式 */
input {
  border: none;
  outline: none;
  color: #333;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}
:root {
  --lv: #5EB69C;
}
.banner {
  width: 1240px;
  margin: 0 auto;
}
.head {
  width: 100%;
  height: 52px;
  background-color: #333;
  overflow: hidden;
}
.head ul {
  display: flex;
  justify-content: right;
  align-items: center;
  margin: 16px 0;
}
.head ul li {
  height: 16px;
  line-height: 16px;
  font-size: 16px;
  font-family: PingFangSC-Regular;
  color: #fff;
  padding: 0 15px;
  border-right: 1px solid #fff;
  cursor: pointer;
}
.head ul li:last-child {
  border-right: none;
}
.head ul li i {
  color: #fff;
}
.head ul .active {
  color: var(--lv);
}
.title {
  display: flex;
  height: 88px;
  margin-top: 22px;
  align-items: center;
}
.title h1 {
  width: 200px;
  height: 88px;
  text-indent: -10000000px;
  overflow: hidden;
  background-image: url(../images/logo.png);
  background-repeat: no-repeat;
}
.title ul {
  display: flex;
  height: 88px;
  flex: 1;
  justify-content: space-evenly;
  align-items: center;
}
.title ul li {
  display: block;
  height: 32px;
  font-size: 16px;
  color: #333;
  font-weight: 700;
  font-family: PingFangSC-Regular;
  cursor: pointer;
}
.title ul .active {
  color: var(--lv);
  border-bottom: 2px solid var(--lv);
}
.title .search {
  display: flex;
  align-items: center;
  width: 300px;
  height: 40px;
  border-bottom: 2px solid #f4f4f4;
  margin-right: 45px;
}
.title .search .icon-search {
  font-size: 22px;
  height: 30px;
  line-height: 30px;
  color: #ccc;
  margin-right: 8px;
}
.title .search p {
  font-size: 16px;
  color: #ccc;
}
.title .icon-cart-full {
  font-size: 36px;
  height: 36px;
  line-height: 36px;
  margin-right: 5px;
  vertical-align: baseline;
}
.bottom {
  background-color: #f5f5f5;
}
.bottom .tag ul {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  border-bottom: 1px solid #e8e8e8;
}
.bottom .tag ul li {
  display: flex;
  width: 200px;
  height: 58px;
  align-items: center;
  margin: 60px 0;
}
.bottom .tag ul li .pic {
  width: 58px;
  height: 58px;
  margin-right: 20px;
  background-image: url(../images/sprite.png);
}
.bottom .tip {
  display: flex;
  padding-top: 60px;
}
.bottom .tip .tip-left {
  display: flex;
  flex: 1;
}
.bottom .tip .tip-left ul {
  display: flex;
}
.bottom .tip .tip-left ul li {
  margin-right: 84px;
}
.bottom .tip .tip-left ul li dt {
  font-size: 18px;
  font-family: PingFangSC-Regular;
  color: #333;
  margin-bottom: 30px;
}
.bottom .tip .tip-left ul li dd {
  font-size: 16px;
  font-family: PingFangSC-Regular;
  color: #969696;
  letter-spacing: 0;
  line-height: 22px;
}
.bottom .tip .tip-right ul {
  display: flex;
  width: 300px;
  justify-content: space-between;
}
.bottom .tip .tip-right ul li img {
  width: 120px;
  height: 120px;
}
.swiper {
  width: 100%;
  height: 500px;
  background-color: #f5f5f5;
  margin-top: 22px;
}
.swiper .banner {
  position: relative;
  background-image: url(../uploads/banner1.png);
  background-repeat: no-repeat;
}
.swiper .banner ul li {
  display: flex;
  width: 250px;
  height: 50px;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.58);
  color: #fff;
}
.swiper .banner ul li:hover {
  background-color: var(--lv);
}
.swiper .banner ul li a {
  color: #fff;
}
.swiper .banner ul li dl {
  display: flex;
  flex: 1;
  align-items: center;
  text-align: center;
  color: #fff;
}
.swiper .banner ul li dl dt {
  font-size: 16px;
  height: 50px;
  line-height: 50px;
  margin-right: 14px;
  margin-left: 29px;
}
.swiper .banner ul li dl dd {
  font-size: 14px;
  height: 50px;
  line-height: 50px;
  margin-right: 5px;
}
.swiper .banner ul li .icon-arrow-right-bold {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  text-align: center;
  color: #fff;
  cursor: pointer;
}
.swiper .banner .float-point {
  position: absolute;
  right: 10px;
  bottom: 20px;
}
.swiper .banner .float-point ul {
  display: flex;
  text-align: center;
  margin-right: 10px;
  height: 20px;
  align-items: center;
}
.swiper .banner .float-point ul li {
  width: 5px;
  height: 5px;
  margin-right: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: 6px solid rgba(255, 255, 255, 0);
}
.swiper .banner .float-point ul .active {
  background-color: #ffffff;
  border: 6px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}
.banner .title {
  display: flex;
  justify-content: space-between;
}
.banner .title .left {
  display: flex;
  flex: 1;
  align-items: end;
}
.banner .title .left h2 {
  height: 42px;
  line-height: 42px;
  font-size: 30px;
  font-family: PingFangSC-Regular;
  color: #333;
  margin-right: 35px;
}
.banner .title .left p {
  font-family: PingFangSC-Regular;
  font-size: 16px;
  color: #A1A1A1;
}
.banner .title .right a {
  display: flex;
  justify-content: space-between;
  vertical-align: bottom;
}
.banner .title .right a p {
  margin-right: 10px;
}
.banner .content ul {
  display: flex;
  justify-content: space-between;
}
.banner .content ul li {
  display: block;
  width: 304px;
  height: 404px;
  background-color: #EEF9F4;
}
.banner .content ul li .image {
  width: 304px;
  height: 304px;
}
.banner .content ul li .image img {
  width: 100%;
  height: 100%;
}
.banner .content ul li .desc {
  height: 28px;
  margin-top: 18px;
  margin-bottom: 8px;
  line-height: 28px;
  font-size: 20px;
  font-family: PingFangSC-Regular;
  color: #333;
  text-align: center;
}
.banner .content ul li .price {
  height: 31px;
  font-family: PingFangSC-Regular;
  font-size: 22px;
  color: #AA2113;
  letter-spacing: 1.1px;
  line-height: 31px;
  font-weight: 400;
  text-align: center;
}
.popular {
  margin-bottom: 60px;
}
.popular .content ul li {
  background-color: #fff;
}
.popular .content ul li .title {
  display: list-item;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-family: PingFangSC-Regular;
  font-size: 20px;
  color: #333333;
  margin-top: 17px;
}
.popular .content ul li .desc {
  margin-top: 15px;
  margin-bottom: 0;
  font-size: 16px;
  color: #A1A1A1;
}
.hot {
  background-color: #F5F5F5;
  margin-bottom: 40px;
}
.hot .banner .title .right {
  position: relative;
}
.hot .banner .title .right i {
  position: absolute;
  bottom: -30px;
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  background-color: #ccc;
  color: #fff;
  vertical-align: baseline;
  text-align: center;
}
.hot .banner .title .right i:first-child {
  right: 35px;
}
.hot .banner .title .right i:last-child {
  right: 5px;
}
.hot .banner .title .right .active {
  background-color: var(--lv);
}
.hot .banner .content ul li {
  background-color: #F5F5F5;
  height: 100%;
}
.hot .banner .content ul li .image {
  width: 244px;
  height: 306px;
  margin-bottom: 40px;
}
.fresh-food .title .tag,
.dress .title .tag,
.home .title .tag,
.kitchen .title .tag {
  width: 500px;
}
.fresh-food .title .tag ul,
.dress .title .tag ul,
.home .title .tag ul,
.kitchen .title .tag ul {
  display: flex;
}
.fresh-food .title .tag ul li,
.dress .title .tag ul li,
.home .title .tag ul li,
.kitchen .title .tag ul li {
  width: none;
  height: 30px;
}
.fresh-food .title .tag ul li a,
.dress .title .tag ul li a,
.home .title .tag ul li a,
.kitchen .title .tag ul li a {
  display: inline-block;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-family: PingFangSC-Regular;
  font-weight: 400;
  font-size: 16px;
  color: #333333;
  padding: 0px 3px;
}
.fresh-food .title .tag ul .active,
.dress .title .tag ul .active,
.home .title .tag ul .active,
.kitchen .title .tag ul .active {
  border-bottom: 0px;
}
.fresh-food .title .tag ul .active a,
.dress .title .tag ul .active a,
.home .title .tag ul .active a,
.kitchen .title .tag ul .active a {
  color: #fff;
  background-color: var(--lv);
}
.fresh-food .content,
.dress .content,
.home .content,
.kitchen .content {
  display: flex;
  justify-content: space-between;
}
.fresh-food .content .left,
.dress .content .left,
.home .content .left,
.kitchen .content .left {
  display: block;
  width: 248px;
  height: 610px;
  cursor: pointer;
  background-image: url(../uploads/fresh_left.png);
  background-repeat: no-repeat;
}
.fresh-food .content .right,
.dress .content .right,
.home .content .right,
.kitchen .content .right {
  width: 968px;
  height: 610px;
}
.fresh-food .content .right ul,
.dress .content .right ul,
.home .content .right ul,
.kitchen .content .right ul {
  display: flex;
  flex-wrap: wrap;
}
.fresh-food .content .right ul li,
.dress .content .right ul li,
.home .content .right ul li,
.kitchen .content .right ul li {
  position: relative;
  width: 242px;
  height: 305px;
  padding: 10px 21px;
  background-color: #fff;
  border: 2px solid #fff;
  overflow: hidden;
  cursor: pointer;
}
.fresh-food .content .right ul li img,
.dress .content .right ul li img,
.home .content .right ul li img,
.kitchen .content .right ul li img {
  width: 190px;
  height: 171px;
}
.fresh-food .content .right ul li .desc,
.dress .content .right ul li .desc,
.home .content .right ul li .desc,
.kitchen .content .right ul li .desc {
  text-align: left;
  height: 16px;
  line-height: 16px;
  margin-top: 10px;
  margin-bottom: 0;
  font-family: PingFangSC-Regular;
  font-size: 16px;
  color: #333333;
}
.fresh-food .content .right ul li .size,
.dress .content .right ul li .size,
.home .content .right ul li .size,
.kitchen .content .right ul li .size {
  text-align: left;
  margin-top: 0;
  font-family: PingFangSC-Regular;
  font-size: 16px;
  color: #333333;
}
.fresh-food .content .right ul li .handle,
.dress .content .right ul li .handle,
.home .content .right ul li .handle,
.kitchen .content .right ul li .handle {
  text-align: left;
  margin-top: 0;
  font-family: PingFangSC-Regular;
  font-size: 16px;
  color: #333333;
  font-weight: 500;
}
.fresh-food .content .right ul li .price,
.dress .content .right ul li .price,
.home .content .right ul li .price,
.kitchen .content .right ul li .price {
  text-align: left;
  margin-top: 7px;
}
.fresh-food .content .right ul li .like,
.dress .content .right ul li .like,
.home .content .right ul li .like,
.kitchen .content .right ul li .like {
  position: absolute;
  width: 242px;
  height: 84px;
  left: 0px;
  bottom: -84px;
  text-align: center;
  background-color: var(--lv);
  transition: 0.3s;
  cursor: pointer;
}
.fresh-food .content .right ul li .like h4,
.dress .content .right ul li .like h4,
.home .content .right ul li .like h4,
.kitchen .content .right ul li .like h4 {
  font-family: PingFangSC-Regular;
  font-size: 18px;
  color: #FFFFFF;
  text-align: center;
  margin-top: 16px;
}
.fresh-food .content .right ul li .like p,
.dress .content .right ul li .like p,
.home .content .right ul li .like p,
.kitchen .content .right ul li .like p {
  display: inline-block;
  width: 114px;
  text-align: center;
  font-family: PingFangSC-Regular;
  font-size: 13px;
  color: #FFFFFF;
  vertical-align: middle;
  border-top: 1px solid #fff;
}
.fresh-food .content .right ul li .like p .icon-arrow-right-bold,
.dress .content .right ul li .like p .icon-arrow-right-bold,
.home .content .right ul li .like p .icon-arrow-right-bold,
.kitchen .content .right ul li .like p .icon-arrow-right-bold {
  font-size: 13px;
}
.fresh-food .content .right ul .active,
.dress .content .right ul .active,
.home .content .right ul .active,
.kitchen .content .right ul .active {
  border: 2px solid var(--lv);
}
.fresh-food .content .right ul .active .like,
.dress .content .right ul .active .like,
.home .content .right ul .active .like,
.kitchen .content .right ul .active .like {
  bottom: 0px;
}
.dress .content .left {
  background-image: url(../uploads/colthes_left.png);
}
.kitchen .content .left {
  background-image: url(../uploads/kitchen_left.png);
}
.home .content .left {
  background-image: url(../uploads/home_left.png);
}
.new {
  margin-bottom: 40px;
}
.new .content ul li {
  position: relative;
  width: 405px;
  height: 355px;
  background-color: pink;
}
.new .content ul li .image {
  width: 100%;
  height: 288px;
}
.new .content ul li .image img {
  width: 100%;
}
.new .content ul li .title {
  position: absolute;
  width: 405px;
  height: 90px;
  display: block;
  left: 0;
  bottom: 67px;
  color: #fff;
  overflow: hidden;
  padding: 0 15px;
  background-image: linear-gradient(180deg, rgba(137, 137, 137, 0), rgba(0, 0, 0, 0.9));
}
.new .content ul li .title .top {
  display: block;
  font-family: PingFangSC-Regular;
  margin-top: 20px;
  font-size: 20px;
  color: #FFFFFF;
}
.new .content ul li .title .end {
  display: block;
  font-family: PingFangSC-Regular;
  font-size: 16px;
  color: #FFFFFF;
}
.new .content ul li .price {
  width: 79px;
  height: 25px;
  position: absolute;
  right: 15px;
  bottom: 97px;
  background-color: #fff;
  font-family: PingFangSC-Regular;
  font-size: 18px;
  color: #AA2113;
  letter-spacing: 0;
  text-align: center;
  line-height: 25px;
  font-weight: 400;
}
.new .content ul li .bottom {
  display: flex;
  justify-content: space-between;
  padding: 25px 15px;
  background-color: #fff;
  overflow: hidden;
}
.new .content ul li .bottom .icon-browse {
  margin-left: 20px;
}
